<?php

class EntryModel extends Zend_Db_Table_Abstract
{
    protected $_name = 'entries';
    protected $_primary = 'id';
    protected $_referenceMap    = array(
        'FeedModel' => array(
            'columns'           => 'feed',
            'refTableClass'     => 'FeedModel',
            'refColumns'        => 'id'
        ),
        'UserModel' => array(
            'columns'           => 'user',
            'refTableClass'     => 'UserModel',
            'refColumns'        => 'id'
        ),
    );

}
